package bookshop.domain;

import java.util.Date;
import java.util.List;

public class OrderInfo extends ValueObject {

	private String orderId;
	private Date orderTime;
	private ReceiveAddr receiveAddr;
	private String payMode;
	private String deliveryMode;
	private Double orderAmount;
	private Customer customer;
	private String orderStatus;

	

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public ReceiveAddr getReceiveAddr() {
		return receiveAddr;
	}

	public void setReceiveAddr(ReceiveAddr receiveAddr) {
		this.receiveAddr = receiveAddr;
	}

	public Customer getCustomer() {
		return customer;
	}

	public void setCustomer(Customer customer) {
		this.customer = customer;
	}

	public String getDeliveryMode() {
		return deliveryMode;
	}

	public void setDeliveryMode(String deliveryMode) {
		this.deliveryMode = deliveryMode;
	}

	public Date getOrderTime() {
		return orderTime;
	}

	public void setOrderTime(Date orderTime) {
		this.orderTime = orderTime;
	}

	public String getPayMode() {
		return payMode;
	}

	public void setPayMode(String payMode) {
		this.payMode = payMode;
	}

	public Double getOrderAmount() {
		return orderAmount;
	}

	public void setOrderAmount(Double orderAmount) {
		this.orderAmount = orderAmount;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	@Override
	public String toString() {
		return "订单信息: [订单编号=" + orderId + ", " +
				"订单时间=" + orderTime + ",  " + receiveAddr + ",付款方式=" +   payMode  + ", 订单金额="+ orderAmount + ",  订单状态="+ orderStatus + "]";
	}
  

	
	
	
}
